#ifndef HIERARCHYVIEW_H
#define HIERARCHYVIEW_H

#include <QDockWidget>
#include <QtSql>

#include "ui_hierarchyview.h"
#include "treemodel.h"


class HierarchyView : public QDockWidget, Ui::HierarchyView
{
    Q_OBJECT
public:
    explicit HierarchyView(QWidget *parent = 0);
    ~HierarchyView();
public slots:
    void loadHierarchy();
    void nodeProfile();
    void nodeZoom();
    void nodePassport();
    void getNodeAtCursor();
private:
    TreeModel *model;
};

#endif // HIERARCHYVIEW_H
